AR codes, as far as I believe, are generally allowed under the circumstance that they do not affect normal gameplay or a TA / SA / RA / BA etc. For example, if you have infinite rings on and do a TA, the TA is invalid if you get hurt. Still, as others can't tell what you did, we'd probably not allow it or have difficulty trusting you. simply because it has the chance of affecting normal gameplay. In general, infinite lives should be the only code ever used.
Now, about the code you mentioned, I believe there are points in SADX (iirc) where free camera is disabled. I am very unsure about how the code works and thus I cannot say for sure that it is legal. If it prevents the game from turning off free camera at specific points in the game, then it's illegal because it messes around with what is supposed to happen in the game and you should not use it. Can you describe why you are using the code and why you just don't turn on free camera yourself? Maybe then we can truly assess the legality of your code use.